package cn.stronglink.assetmanage.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;

import java.util.List;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Tgb on 2018/6/15.
 * 巡检
 */
@Entity
public class Patrol {

    /**
     * beginTime : 12:08
     * createBy : 879381828855975936
     * createName : 2017-11-01 14:06:29
     * endTime : 12:30
     * id : 1
     * id_ : 1
     * inspectDate : 2017-11-01 00:00:00
     * inspectPlanId : 1
     * name : 单次巡检
     * operatiorBy : 878827689403076608
     * operatiorBy_ : 878827689403076608
     * operatiorName : 管理员
     * remark : 111
     * roomId : 0
     * roomId_ : 0
     * status : 2
     * type : 2
     */
    @Id
    private Long patrol_id;
    private String beginTime;
    private long createBy;
    private String createName;
    private String endTime;
    private long id;
    private String id_;
    private String name;
    private long operatiorBy;
    private String operatiorBy_;
    private String operatiorName;
    private String remark;
    private long roomId;
    private String roomId_;
    private int status;
    private int type;
    private int orderType;
    private String updateTime;
    private long updateBy;
    @Transient
    private List<PatrolDetail> detailList;

    @Generated(hash = 2099299393)
    public Patrol(Long patrol_id, String beginTime, long createBy,
            String createName, String endTime, long id, String id_, String name,
            long operatiorBy, String operatiorBy_, String operatiorName,
            String remark, long roomId, String roomId_, int status, int type,
            int orderType, String updateTime, long updateBy) {
        this.patrol_id = patrol_id;
        this.beginTime = beginTime;
        this.createBy = createBy;
        this.createName = createName;
        this.endTime = endTime;
        this.id = id;
        this.id_ = id_;
        this.name = name;
        this.operatiorBy = operatiorBy;
        this.operatiorBy_ = operatiorBy_;
        this.operatiorName = operatiorName;
        this.remark = remark;
        this.roomId = roomId;
        this.roomId_ = roomId_;
        this.status = status;
        this.type = type;
        this.orderType = orderType;
        this.updateTime = updateTime;
        this.updateBy = updateBy;
    }
    @Generated(hash = 743822884)
    public Patrol() {
    }

    public List<PatrolDetail> getDetailList() {
        return detailList;
    }
    public void setDetailList(List<PatrolDetail> detailList) {
        this.detailList = detailList;
    }
    public int getOrderType() {
        return this.orderType;
    }
    public void setOrderType(int orderType) {
        this.orderType = orderType;
    }
    public int getType() {
        return this.type;
    }
    public void setType(int type) {
        this.type = type;
    }
    public int getStatus() {
        return this.status;
    }
    public void setStatus(int status) {
        this.status = status;
    }
    public String getRoomId_() {
        return this.roomId_;
    }
    public void setRoomId_(String roomId_) {
        this.roomId_ = roomId_;
    }
    public long getRoomId() {
        return this.roomId;
    }
    public void setRoomId(long roomId) {
        this.roomId = roomId;
    }
    public String getRemark() {
        return this.remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getOperatiorName() {
        return this.operatiorName;
    }
    public void setOperatiorName(String operatiorName) {
        this.operatiorName = operatiorName;
    }
    public String getOperatiorBy_() {
        return this.operatiorBy_;
    }
    public void setOperatiorBy_(String operatiorBy_) {
        this.operatiorBy_ = operatiorBy_;
    }
    public long getOperatiorBy() {
        return this.operatiorBy;
    }
    public void setOperatiorBy(long operatiorBy) {
        this.operatiorBy = operatiorBy;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getId_() {
        return this.id_;
    }
    public void setId_(String id_) {
        this.id_ = id_;
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public String getEndTime() {
        return this.endTime;
    }
    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
    public String getCreateName() {
        return this.createName;
    }
    public void setCreateName(String createName) {
        this.createName = createName;
    }
    public long getCreateBy() {
        return this.createBy;
    }
    public void setCreateBy(long createBy) {
        this.createBy = createBy;
    }
    public String getBeginTime() {
        return this.beginTime;
    }
    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }
    public Long getPatrol_id() {
        return this.patrol_id;
    }
    public void setPatrol_id(Long patrol_id) {
        this.patrol_id = patrol_id;
    }
    public long getUpdateBy() {
        return this.updateBy;
    }
    public void setUpdateBy(long updateBy) {
        this.updateBy = updateBy;
    }
    public String getUpdateTime() {
        return this.updateTime;
    }
    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
